/*
 * Copyright (C) 2017 Pingan, Inc. All Rights Reserved.
 */

package com.pingan.haofang.searchcloud.index.constants;

/**
 * 索引导入粒度类型
 *
 * @author zhangbi617
 * @date 18/05/2017
 */
public enum IndexBuildGradingType {
    INDEX(0, "全索引"), DATABASE(1, "数据源");

    public final int value;
    public final String desc;

    private IndexBuildGradingType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
